html {
  box-sizing: border-box;
  touch-action: manipulation;
}
*,
*:before,
*:after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.15;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'Helvetica Neue',
    PingFang SC,
    Microsoft YaHei,
    Source Han Sans SC,
    Noto Sans CJK SC,
    sans-serif;
  color: #333;
  overflow-x: hidden;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

ul,
p {
  margin: 0;
}

ul {
  padding: 0;
}

iframe {
  border: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 重置iconfont的字体大小，默认继承父元素 */
.iconfont {
  font-size: 1em;
}
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
// 防止弹窗滚动时，滚动时间冒泡到body,body跟着滚动
.forbidrootscroll {
  overflow: hidden;
}
